//
//  GatherControlView.h
//  LiveGather
//
//  Created by macintosh on 16/9/13.
//  Copyright © 2016年 Yue Shen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GatherMonitor.h"

@interface GatherControlView : UIView

@property (nonatomic, strong) NSArray *barButtons;
@property (nonatomic, strong) UIImageView *waterView;
@property (nonatomic, copy) NSString *resStr;
@property (nonatomic, assign) GatherMonitorState state;
@property (nonatomic, copy) void(^endLive)();
@property (nonatomic, copy) void(^liveBtnClicked)(BOOL start);

- (void)updateMonitorWithMonitorInfo:(MonitorInfo *)info;

- (void)updateLayoutOfSubviewsWithOrentationPortrait:(BOOL)isPortrait;

- (void)updateLiveBtnState:(BOOL)selected;

- (void)resetDisplayInfo;

- (void)layoutWaterViewByCanvasSize:(CGSize)canvasSize flipped:(BOOL)flipped;

@end
